package com.myCommunity.entity;

import java.sql.Date;

public class MessageSending {
	
	public MessageSending getSend() {
		return send;
	}
	public void setSend(MessageSending send) {
		this.send = send;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public int getSenderId() {
		return senderId;
	}
	public void setSenderId(int senderId) {
		this.senderId = senderId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	private int id;
	private String title;
	private String content;
	private Date sendTime;
	private int senderId;
	//0-草稿/1-已发送/2-回收站/3-已被发件者彻底删除
	private int status;
	public MessageSending(int id, String title, String content, Date sendTime,
			int senderId, int status) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.sendTime = sendTime;
		this.senderId = senderId;
		this.status = status;
	}
	
	public MessageSending() {
		// TODO Auto-generated constructor stub
	}

	private MessageSending send;
}
